﻿using Domain.Entity;
using Business.Service;
using Business.Abstract;
using System.Collections.Generic;
namespace PresentationMVC.Models
{

    public abstract class AbstractModel
    {
        public IList<Title> AllTitle
        {
            get
            {
                ICommonService srv = new CommonServiceImpl();
                return srv.GetAllTitle();
            }
        }

        public IList<Country> AllCountry
        {
            get
            {
                ICommonService srv = new CommonServiceImpl();
                return srv.GetAllCountry();
            }

        }
    }
}